<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>im test</title>

    <!-- IE8及以下支持JSON -->
    <!--[if lt IE 9]>
    <script src="https://g.alicdn.com/aliww/ww/json/json.js" charset="utf-8"></script>
    <![endif]-->
    <!-- 自动适配移动端与pc端 -->
    <script src="https://g.alicdn.com/aliww/??h5.imsdk/2.1.5/scripts/yw/wsdk.js,h5.openim.kit/0.4.0/scripts/kit.js?mobile=1"
            charset="utf-8"></script>

    <script>
        window.onload = function () {
            WKIT.init({
                uid: '18',
                appkey: 23872966,
                credential: '8d969',
                touid: '6',
                avatar: 'http://s.cn.bing.net/th?id=OIP.NAfdLsOOe5E71Vqjkmf07QEsET&w=122&h=108&c=8&rs=1&qlt=90&pid=3.1&rm=2',
                toAvatar: 'http://s.cn.bing.net/th?id=OIP.NAfdLsOOe5E71Vqjkmf07QEsET&w=122&h=108&c=8&rs=1&qlt=90&pid=3.1&rm=2',
                logo: 'http://s.cn.bing.net/th?id=OIP.0NJASAqEQe0ELZfPzwOicAEsDI&w=145&h=100&c=8&rs=1&qlt=90&pid=3.1&rm=2',
            });
        }
    </script>
</head>
<body>
</body>
</html>